package com.gec.model.system;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.gec.model.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@TableName("itrip_itinerary_order")
public class ITripItineraryOrder extends BaseEntity {

    private static final long serialVersionUID = 1L;



    /**
     * 出行方式id
     */
    @TableField("itineraryId")
    private Long itineraryId;

    /**
     * 用户id
     */
    @TableField("userId")
    private Long userId;



    /**
     * 订单价格
     */
    @TableField("price")
    private BigDecimal price;


    /**
     * 发车时间
     */
    @TableField(exist = false)
    private Date startTime;

    /**
     * 结束时间
     */
    @TableField(exist = false)
    private Date endTime;

    /**
     * 出发地
     */
    @TableField(exist = false)
    private String Location;

    /**
     * 目的地
     */
    @TableField(exist = false)
    private String destination;

    /**
     * 0：未支付 1：已支付
     */
    @TableField("isPaid")
    private Integer isPaid;


    /**
     * 票数
     */
    @TableField("number")
    private Long number;
    @TableField(exist = false)
    private String typeWay;
    @TableField(exist = false)
    private String username;
    @TableField(exist = false)
    private String typeNo;

}
